TEMPLATE = lib
TARGET = system
QT += xml \
    core
CONFIG += dll \
    qt \
    thread
CONFIG -= staticlib
CONFIG += shared
DESTDIR = $$PWD/../../../../output/zones/$$TARGET
include(../conf.pri)
include(src.pri)
windows { 
    include(../conf_windows.pri)
    LIBS += -lUser32 \
        -lShell32 \
        -lGdi32 \
        -lAdvAPI32
    DEFINES += QT_STATICPLUGIN
    DEFINES += NOMINMAX # suppress min/max #defines in windows headers

}

HEADERS += $$PWD/pch.h \
    $$PWD/system.h \
    $$PWD/system_global.h \
    $$PWD/systeminterface.h \
    $$PWD/systemui.h \
	$$PWD/QtSystemInfo.h

SOURCES += $$PWD/system.cpp \
    $$PWD/entry.cpp \
    $$PWD/systeminterface.cpp \
    $$PWD/systemui.cpp \
	$$PWD/QtSystemInfo.cpp

RESOURCES += $$PWD/system.qrc
FORMS += $$PWD/systemui.ui


LIBS += $$SDK_LIBS

